package com.dhh.sky.util;

import com.dhh.sky.R;
import com.dhh.sky.activity.CameraActivity;
import com.dhh.sky.activity.SongListActivity;
import com.dhh.sky.notepad.NotesList;

import android.content.Context;
import android.content.Intent;

public class SlideMenuHelper {
	public static void handleSlideMenu(Context context,int itemId){
		if(itemId==R.id.navigate_menu_camera){
			Intent intent = new Intent(context,CameraActivity.class);
			context.startActivity(intent);
		}else if(itemId==R.id.navigate_menu_music){
			Intent intent = new Intent(context,SongListActivity.class);
			intent.putExtra(Constant.PARAM_LIST, true);
			context.startActivity(intent);
		}else if(itemId==R.id.navigate_menu_note){
			Intent intent = new Intent(context,NotesList.class);
			context.startActivity(intent);
		}
	}
}
